import type { RouteRecordRaw } from 'vue-router'
// import type { CategoryObj } from '@/api/product/attr/types'

//定义小仓库数据state的类型
export interface UserState {
  token: string | null
  menuRoutes: RouteRecordRaw[]
  username: string | null
  avatar: string
  id: number | null
  nickname: string | null
  password: string | null
  login_time: string | null
}
